package com.brush.pig.domain.resp.sow;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@ApiModel(value = "SowQueryInformationResp", description = "母猪查询信息返回参数")
public class SowQueryInformationResp {

    @ApiModelProperty(value = "母猪id")
    private Long id;

    @ApiModelProperty(value = "母猪编号")
    private String code;

    @ApiModelProperty(value = "所属厂区id")
    private Long deptId;

    @ApiModelProperty(value = "所属厂区")
    private String FactoryName;

    @ApiModelProperty(value = "所属栏位名称")
    private String deptName;

    @ApiModelProperty(value = "耳标")
    private String earCode;

    @ApiModelProperty(value = " 胎次")
    private Integer parity;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createdTime;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    @ApiModelProperty(value = "备注")
    private String remark;
}
